/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package weka.attributeSelection.semiAS.semiClusterAS;

import weka.core.Instances;

/**
 *
 * @author Administrator
 */
public class CorrUnlabledDistEval extends UnlabeledDistEval {

    public CorrUnlabledDistEval(Instances data) {
        super(data);
    }

    public double getDistance(int i, int j) {
        return 1 - Math.abs(Correlate.correlate(i, j, m_instances));
    }
}
